<%-- 
    Document   : index
    Created on : 3/03/2013, 07:22:12 PM
    Author     : Alejandro
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="dominio.user" %>
<%
    if(((user)session.getAttribute("login")) != null)
    {
        response.sendRedirect("index2.jsp");
    }
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" type="text/css" href="css/html5reset-1.6.1.css">
	<link rel="stylesheet" type="text/css" href="css/style_index.css">
        <script src="js/jquery-1.9.1.js"></script>
        <script src="js/js_indx.js" ></script>
    </head>
    <body>
        <header>
        </header>
        <div id="containerRegister">
            <form id="register">
                <input type="text" name="name" placeholder="Angelita Lopez"/>
                <input type="email" name="email" placeholder="Angelita@hotmail.com"/>
                <input type="password" name="password"/>
                <input type="submit" name="register" value="Register"/>
                <input type="button" name="cancel" value="Cancelar"/>
            </form>
        </div>
        <div id="container">
            <aside id="left">
            </aside>
            <aside id="right">
                <form id="userForm">
                    <input type="text" name="Lemail" placeholder="alguien@example.com" />
                    <input type="password" name="pwd" placeholder="contraseña"/>
                    <input type="checkbox">
                    <label>Recordar password</label>
                    <input type="submit" text="Iniciar sesion"/>
                    <a href="#" id="btnReg">Register</a>
                </form>
            </aside>
        </div>
        <footer>
        </footer>
    </body>
</html>
